@import "../../style/constant.scss";


.icon {
  margin-right: 16px;
  width: 16px;
  height: 16px;
}

.container {
  padding: 20px;
  display: flex;
  border-radius: 10px;
  background-size: 100% 100%;
  flex-direction: column;
  margin-top: 16px;
}


.name {
  font-size: 18px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: $primaryBlack;
  line-height: 25px;
  text-align: left;
  @include line-ellipsis-x(1);
}

.promo {
  font-size: 14px;
  font-family: PingFangSC-Regular;
  color: $common;
  line-height: 20px;
  @include line-ellipsis-x(1);
  margin-top: 4px;
}

.content {
  padding: 12px 16px;
  display: flex;
  background-color: white;
  flex-direction: row;
  align-items: center;
  border-radius: 8px;
  margin-top: 20px;
}

.column {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.durationItem {
  margin-top: 4px;
}

.durationItem1 {
  background-color: #4FA1FF;
}

.durationTitle {
  font-size: 14px;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: #333;
  line-height: 20px;
}

.priceContainer {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.priceUnit {
  font-size: 14px;
  font-family: HelveticaNeue-Medium;
  font-weight: 500;
  margin-bottom: -2px;
  color: #CEA636;
  white-space:pre-wrap;
}

.priceNum {
  margin-right: 8px;
  font-size: 24px;
  font-family: HelveticaNeue-Medium;
  font-weight: 500;
  color: #CEA636;
  line-height: 24px;
  letter-spacing: 1px;
}


.priceDelete {
  font-size: 12px;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: #8C8C8C;
  line-height: 17px;
  text-decoration-line: line-through;
}


.day {
  font-size: 18px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: $primaryBlack;
  line-height: 25px;
}

.number {
  margin-left: 15px;
  display: flex;
  flex: 1;
  font-size: 14px;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: $common;
  line-height: 20px;
}

.join_btn {
  height: 30px;
  width: 88px;
  @include boxSizing();
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #47C690;
}

.btn_text {
  font-size: 16px;
  font-family: PingFangSC-Regular;
  line-height: 22px;
  color: white;
}

.btn_text_small {
  font-size: 14px;
  line-height: 20px;
}
